package com.wd.service.impl;

import com.wd.dao.CommentDao;
import com.wd.dao.impl.CommentDaoImpl;
import com.wd.entity.Comment;
import com.wd.service.CommentService;

public class CommentServiceImpl implements CommentService {

    CommentDao commentDao=new CommentDaoImpl();

    @Override
    public Comment selComment() throws Exception {
        return commentDao.selComment();
    }

    @Override
    public int updComment(Comment comment) throws Exception {
        return commentDao.updComment(comment);
    }

    @Override
    public int insComment(Comment comment) throws Exception {
        return commentDao.insComment(comment);
    }
}
